package cn.seaboot.admin.file.bean;


import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.Size;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * POJO
 * 虚拟文件夹 [t_sys_folder]
 *
 * @author Mr.css on 2018-6-20
 */
@Schema(description = "虚拟文件夹 [t_sys_folder] 实体类")
public class SysFolder implements Serializable {

    private static final long serialVersionUID = -6629959391879830113L;
    /**
     * ID
     */
    @NotNull()
    @Schema(description = "ID")
    private String id;
    /**
     * 层级
     */
    @Schema(description = "层级")
    private Integer folderLevel;
    /**
     * 父级ID
     */
    @Schema(description = "父级ID")
    private String pid;
    /**
     * 机构ID
     */
    @Schema(description = "机构ID")
    private String orgId;
    /**
     * 文件夹名称
     */
    @Size(max = 36)
    @Schema(description = "文件夹名称")
    private String folderName;
    /**
     * 文件夹编码
     */
    @Size(max = 16)
    @Schema(description = "文件夹编码")
    private String folderCode;

    /**
     * 文件夹编码
     */
    @Size(max = 255)
    @Schema(description = "文件夹目录")
    private String folderPath;

    /**
     * 文件夹编码
     */
    @Schema(description = "文件夹类型")
    private String folderType;
    /**
     * 创建日期
     */
    @Schema(description = "创建日期")
    private LocalDateTime gmtCreate;
    /**
     * 更新日期
     */
    @Schema(description = "更新日期")
    private LocalDateTime gmtModified;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getFolderLevel() {
        return folderLevel;
    }

    public void setFolderLevel(Integer folderLevel) {
        this.folderLevel = folderLevel;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getFolderName() {
        return folderName;
    }

    public void setFolderName(String folderName) {
        this.folderName = folderName;
    }

    public String getFolderCode() {
        return folderCode;
    }

    public void setFolderCode(String folderCode) {
        this.folderCode = folderCode;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getFolderPath() {
        return folderPath;
    }

    public void setFolderPath(String folderPath) {
        this.folderPath = folderPath;
    }

    public String getFolderType() {
        return folderType;
    }

    public void setFolderType(String folderType) {
        this.folderType = folderType;
    }
}
